// 只要导入封装的request文件即可
import request from '@/utils/request'

// 以后这个文件专门封装跟搜索模块有关的请求
export const hotAPI = () => request({ url: '/search/hot' })

export const searchAPI = params => {
  return request({
    url: '/search',
    params
  })
}
